support optional start elements in xmlstreamwriter. (#1193)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Fri, 27 Oct 2023 20:07:24 +0000 (14:07 -0600)
committerGitHub <noreply@github.com>
Fri, 27 Oct 2023 20:07:24 +0000 (14:07 -0600)
commitc95e1cfc2331f5e22dcae51ee637b70ce9973cb9
treef1c4e41574c4ad23fd5e0339b9b6266660184612
parente81ff8d5e387a47665e565965e51c172981eb3a4
support optional start elements in xmlstreamwriter. (#1193)

this adds methods to xmlstreamwriter to allow conditional writing
of a start element.  The conditional element will only be written to
the stream if it has children, which is deteremined when the condtional
element is ended.  This simplifies writing of such elements as the
writer does not need to know if it will subsequently write children or
not.
garmin_fs.cc
garmin_fs.h
gpx.cc
src/core/xmlstreamwriter.cc
src/core/xmlstreamwriter.h